package org.mikhaylov.cp.service.db.entities;

import java.io.Serializable;

import org.mikhaylov.cp.service.db.enums.TakeState;

public class Take implements Serializable, Entity {

	private static final long serialVersionUID = 1L;

	private long id;

	private User user;

	private Inventory inventory;

	private java.sql.Date date;

	private TakeState takeState;

	public Take() {
		
	}
	
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Inventory getInventory() {
		return inventory;
	}

	public void setInventory(Inventory inventory) {
		this.inventory = inventory;
	}

	public java.sql.Date getDate() {
		return date;
	}

	public void setDate(java.sql.Date date) {
		this.date = date;
	}

	public TakeState getTakeState() {
		return takeState;
	}

	public void setTakeState(TakeState takeState) {
		this.takeState = takeState;
	}

}
